<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/user/addOrupdate" method="post">


<table border="1" >
    <tr>
        <td>ID</td>
        <td>
            <input type="text" name="id" readonly  >
        </td>
    </tr>
    <tr>
        <td>姓名</td>
        <td>
            <input type="text" name="name"  required >
        </td>
    </tr>
    <tr>
        <td>年龄</td>
        <td>
            <input type="number" name="age"  required>
        </td>
    </tr>
    <tr>
        <td>性别</td>
        <td>
            <input type="text" name="sex" required >
        </td>
    </tr>
    <tr>
        <td>手机号</td>
        <td>
            <input type="number" name="sjh"  required >
        </td>
    </tr>
    <tr>
        <td>地址</td>
        <td>
            <input type="text" name="dz"  required>
        </td>
    </tr>
    <tr align="center">
        <td colspan="2"><button type="submit" >保存</button></td>

    </tr>
</table>
</form>
</body>
</html>